--[[
 -- *名称:BgLayerPart
 -- *描述:游戏层
 -- *版权:Copyright © 2016-2018 深圳市三只小熊科技有限公司 版权所有
 -- *作者:Administrator
 -- *创建日期:2017-09-25
 -- *修改日期:2017-09-25
 ]]
local CURRENT_MODULE_NAME = ...
local BgLayerPart = class("BgLayerPart", PokerPartBase) --登录模块
BgLayerPart.DEFAULT_PART = {
	"DesktopLayerPart",
	"RoomInfoPart",
	"SysInfoPart"
}
BgLayerPart.DEFAULT_VIEW = "bglayer"

---
 -- [ctor 默认part构造方法]
 -- @DateTime 2017-09-20
 -- @param    owner [description]
 -- @param    data [description]
 -- @return    [description]
 --
function BgLayerPart:ctor(owner, data)
	Log.d("BgLayerPart:ctor");
    BgLayerPart.super.ctor(self, owner, data)
    self._data = data;
end


---
 -- [activate 默认激活该part调用方法]
 -- @DateTime 2017-09-20
 -- @param    data [description]
 -- @return    [description]
 --
function BgLayerPart:activate(data)
	printInfo("BgLayerPart:activate",data);
	BgLayerPart.super.activate(self, CURRENT_MODULE_NAME);

	self:activatePart("DesktopLayerPart");
	self:activatePart("RoomInfoPart",data);
	self:activatePart("SysInfoPart");
end

---
 -- [deactivate 销毁该part调用方法]
 -- @DateTime 2017-09-20
 -- @return   [description]
 --
function BgLayerPart:deactivate()

end

---
 -- [getPartId 获取该part的partId]
 -- @DateTime 2017-09-20
 -- @return   [description]
 --
function BgLayerPart:getPartId()
	-- body
	return "BgLayerPart"
end

return BgLayerPart 